package com.ztesoft.web.filecommon.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class FileScanRuleTplArg {
    private String pk_name = "RULE_TEMPLATE_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<FileScanRuleTplCriteria> oredCriteria;

    public FileScanRuleTplArg() {
        oredCriteria = new ArrayList<FileScanRuleTplCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<FileScanRuleTplCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(FileScanRuleTplCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public FileScanRuleTplCriteria or() {
    	FileScanRuleTplCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public FileScanRuleTplCriteria createCriteria() {
    	FileScanRuleTplCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected FileScanRuleTplCriteria createCriteriaInternal() {
    	FileScanRuleTplCriteria criteria = new FileScanRuleTplCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<FileScanRuleTplCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<FileScanRuleTplCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<FileScanRuleTplCriterion> getAllCriteria() {
            return criteria;
        }

        public List<FileScanRuleTplCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new FileScanRuleTplCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FileScanRuleTplCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FileScanRuleTplCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new FileScanRuleTplCriterion(condition, value1, value2));
        }

        public FileScanRuleTplCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andRuleTemplateIdIsNull() {
            addCriterion("RULE_TEMPLATE_ID is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdIsNotNull() {
            addCriterion("RULE_TEMPLATE_ID is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdEqualTo(Integer value) {
            addCriterion("RULE_TEMPLATE_ID =", value, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdNotEqualTo(Integer value) {
            addCriterion("RULE_TEMPLATE_ID <>", value, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdGreaterThan(Integer value) {
            addCriterion("RULE_TEMPLATE_ID >", value, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("RULE_TEMPLATE_ID >=", value, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdLessThan(Integer value) {
            addCriterion("RULE_TEMPLATE_ID <", value, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdLessThanOrEqualTo(Integer value) {
            addCriterion("RULE_TEMPLATE_ID <=", value, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdLike(Integer value) {
            addCriterion("RULE_TEMPLATE_ID like ", value, "RULE_TEMPLATE_ID", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdNotLike(Integer value) {
            addCriterion("RULE_TEMPLATE_ID  not like ", value, "RULE_TEMPLATE_ID", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdLeftLike(Integer value) {
            addCriterion("RULE_TEMPLATE_ID like ", value, "RULE_TEMPLATE_ID", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdNotLeftLike(Integer value) {
            addCriterion("RULE_TEMPLATE_ID  not like ", value, "RULE_TEMPLATE_ID", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdRightLike(Integer value) {
            addCriterion("RULE_TEMPLATE_ID like ", value, "RULE_TEMPLATE_ID", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdNotRightLike(Integer value) {
            addCriterion("RULE_TEMPLATE_ID  not like ", value, "RULE_TEMPLATE_ID", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdIn(List<Integer> values) {
            addCriterion("RULE_TEMPLATE_ID  in ", values, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdNotIn(List<Integer> values) {
            addCriterion("RULE_TEMPLATE_ID not in ", values, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdBetween(Integer value1, Integer value2) {
            addCriterion("RULE_TEMPLATE_ID between ", value1, value2, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleTemplateIdNotBetween(Integer value1, Integer value2) {
            addCriterion("RULE_TEMPLATE_ID not between ", value1, value2, "RULE_TEMPLATE_ID");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andTemplateNameIsNull() {
            addCriterion("TEMPLATE_NAME is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameIsNotNull() {
            addCriterion("TEMPLATE_NAME is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameEqualTo(String value) {
            addCriterion("TEMPLATE_NAME =", value, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameNotEqualTo(String value) {
            addCriterion("TEMPLATE_NAME <>", value, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameGreaterThan(String value) {
            addCriterion("TEMPLATE_NAME >", value, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameGreaterThanOrEqualTo(String value) {
            addCriterion("TEMPLATE_NAME >=", value, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameLessThan(String value) {
            addCriterion("TEMPLATE_NAME <", value, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameLessThanOrEqualTo(String value) {
            addCriterion("TEMPLATE_NAME <=", value, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameLike(String value) {
            addCriterion("TEMPLATE_NAME like ", value, "TEMPLATE_NAME", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameNotLike(String value) {
            addCriterion("TEMPLATE_NAME  not like ", value, "TEMPLATE_NAME", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameLeftLike(String value) {
            addCriterion("TEMPLATE_NAME like ", value, "TEMPLATE_NAME", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameNotLeftLike(String value) {
            addCriterion("TEMPLATE_NAME  not like ", value, "TEMPLATE_NAME", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameRightLike(String value) {
            addCriterion("TEMPLATE_NAME like ", value, "TEMPLATE_NAME", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameNotRightLike(String value) {
            addCriterion("TEMPLATE_NAME  not like ", value, "TEMPLATE_NAME", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameIn(List<String> values) {
            addCriterion("TEMPLATE_NAME  in ", values, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameNotIn(List<String> values) {
            addCriterion("TEMPLATE_NAME not in ", values, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameBetween(String value1, String value2) {
            addCriterion("TEMPLATE_NAME between ", value1, value2, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTemplateNameNotBetween(String value1, String value2) {
            addCriterion("TEMPLATE_NAME not between ", value1, value2, "TEMPLATE_NAME");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andScanRangeIsNull() {
            addCriterion("SCAN_RANGE is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeIsNotNull() {
            addCriterion("SCAN_RANGE is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeEqualTo(Integer value) {
            addCriterion("SCAN_RANGE =", value, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeNotEqualTo(Integer value) {
            addCriterion("SCAN_RANGE <>", value, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeGreaterThan(Integer value) {
            addCriterion("SCAN_RANGE >", value, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeGreaterThanOrEqualTo(Integer value) {
            addCriterion("SCAN_RANGE >=", value, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeLessThan(Integer value) {
            addCriterion("SCAN_RANGE <", value, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeLessThanOrEqualTo(Integer value) {
            addCriterion("SCAN_RANGE <=", value, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeLike(Integer value) {
            addCriterion("SCAN_RANGE like ", value, "SCAN_RANGE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeNotLike(Integer value) {
            addCriterion("SCAN_RANGE  not like ", value, "SCAN_RANGE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeLeftLike(Integer value) {
            addCriterion("SCAN_RANGE like ", value, "SCAN_RANGE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeNotLeftLike(Integer value) {
            addCriterion("SCAN_RANGE  not like ", value, "SCAN_RANGE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeRightLike(Integer value) {
            addCriterion("SCAN_RANGE like ", value, "SCAN_RANGE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeNotRightLike(Integer value) {
            addCriterion("SCAN_RANGE  not like ", value, "SCAN_RANGE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeIn(List<Integer> values) {
            addCriterion("SCAN_RANGE  in ", values, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeNotIn(List<Integer> values) {
            addCriterion("SCAN_RANGE not in ", values, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_RANGE between ", value1, value2, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanRangeNotBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_RANGE not between ", value1, value2, "SCAN_RANGE");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andFileTypeIsNull() {
            addCriterion("FILE_TYPE is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeIsNotNull() {
            addCriterion("FILE_TYPE is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeEqualTo(String value) {
            addCriterion("FILE_TYPE =", value, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeNotEqualTo(String value) {
            addCriterion("FILE_TYPE <>", value, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeGreaterThan(String value) {
            addCriterion("FILE_TYPE >", value, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FILE_TYPE >=", value, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeLessThan(String value) {
            addCriterion("FILE_TYPE <", value, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeLessThanOrEqualTo(String value) {
            addCriterion("FILE_TYPE <=", value, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeLike(String value) {
            addCriterion("FILE_TYPE like ", value, "FILE_TYPE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeNotLike(String value) {
            addCriterion("FILE_TYPE  not like ", value, "FILE_TYPE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeLeftLike(String value) {
            addCriterion("FILE_TYPE like ", value, "FILE_TYPE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeNotLeftLike(String value) {
            addCriterion("FILE_TYPE  not like ", value, "FILE_TYPE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeRightLike(String value) {
            addCriterion("FILE_TYPE like ", value, "FILE_TYPE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeNotRightLike(String value) {
            addCriterion("FILE_TYPE  not like ", value, "FILE_TYPE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeIn(List<String> values) {
            addCriterion("FILE_TYPE  in ", values, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeNotIn(List<String> values) {
            addCriterion("FILE_TYPE not in ", values, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeBetween(String value1, String value2) {
            addCriterion("FILE_TYPE between ", value1, value2, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFileTypeNotBetween(String value1, String value2) {
            addCriterion("FILE_TYPE not between ", value1, value2, "FILE_TYPE");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andFilenameScanXpathIsNull() {
            addCriterion("FILENAME_SCAN_XPATH is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathIsNotNull() {
            addCriterion("FILENAME_SCAN_XPATH is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH =", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathNotEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH <>", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathGreaterThan(String value) {
            addCriterion("FILENAME_SCAN_XPATH >", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathGreaterThanOrEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH >=", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathLessThan(String value) {
            addCriterion("FILENAME_SCAN_XPATH <", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathLessThanOrEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH <=", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH like ", value, "FILENAME_SCAN_XPATH", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathNotLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH  not like ", value, "FILENAME_SCAN_XPATH", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathLeftLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH like ", value, "FILENAME_SCAN_XPATH", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathNotLeftLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH  not like ", value, "FILENAME_SCAN_XPATH", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathRightLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH like ", value, "FILENAME_SCAN_XPATH", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathNotRightLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH  not like ", value, "FILENAME_SCAN_XPATH", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathIn(List<String> values) {
            addCriterion("FILENAME_SCAN_XPATH  in ", values, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathNotIn(List<String> values) {
            addCriterion("FILENAME_SCAN_XPATH not in ", values, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathBetween(String value1, String value2) {
            addCriterion("FILENAME_SCAN_XPATH between ", value1, value2, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilenameScanXpathNotBetween(String value1, String value2) {
            addCriterion("FILENAME_SCAN_XPATH not between ", value1, value2, "FILENAME_SCAN_XPATH");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andScanTimeTypeIsNull() {
            addCriterion("SCAN_TIME_TYPE is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeIsNotNull() {
            addCriterion("SCAN_TIME_TYPE is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE =", value, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeNotEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE <>", value, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeGreaterThan(String value) {
            addCriterion("SCAN_TIME_TYPE >", value, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE >=", value, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeLessThan(String value) {
            addCriterion("SCAN_TIME_TYPE <", value, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeLessThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE <=", value, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeLike(String value) {
            addCriterion("SCAN_TIME_TYPE like ", value, "SCAN_TIME_TYPE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeNotLike(String value) {
            addCriterion("SCAN_TIME_TYPE  not like ", value, "SCAN_TIME_TYPE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeLeftLike(String value) {
            addCriterion("SCAN_TIME_TYPE like ", value, "SCAN_TIME_TYPE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeNotLeftLike(String value) {
            addCriterion("SCAN_TIME_TYPE  not like ", value, "SCAN_TIME_TYPE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeRightLike(String value) {
            addCriterion("SCAN_TIME_TYPE like ", value, "SCAN_TIME_TYPE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeNotRightLike(String value) {
            addCriterion("SCAN_TIME_TYPE  not like ", value, "SCAN_TIME_TYPE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeIn(List<String> values) {
            addCriterion("SCAN_TIME_TYPE  in ", values, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeNotIn(List<String> values) {
            addCriterion("SCAN_TIME_TYPE not in ", values, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_TYPE between ", value1, value2, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeTypeNotBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_TYPE not between ", value1, value2, "SCAN_TIME_TYPE");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andScanTimeSectionIsNull() {
            addCriterion("SCAN_TIME_SECTION is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionIsNotNull() {
            addCriterion("SCAN_TIME_SECTION is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION =", value, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionNotEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION <>", value, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionGreaterThan(String value) {
            addCriterion("SCAN_TIME_SECTION >", value, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionGreaterThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION >=", value, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionLessThan(String value) {
            addCriterion("SCAN_TIME_SECTION <", value, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionLessThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION <=", value, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionLike(String value) {
            addCriterion("SCAN_TIME_SECTION like ", value, "SCAN_TIME_SECTION", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionNotLike(String value) {
            addCriterion("SCAN_TIME_SECTION  not like ", value, "SCAN_TIME_SECTION", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionLeftLike(String value) {
            addCriterion("SCAN_TIME_SECTION like ", value, "SCAN_TIME_SECTION", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionNotLeftLike(String value) {
            addCriterion("SCAN_TIME_SECTION  not like ", value, "SCAN_TIME_SECTION", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionRightLike(String value) {
            addCriterion("SCAN_TIME_SECTION like ", value, "SCAN_TIME_SECTION", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionNotRightLike(String value) {
            addCriterion("SCAN_TIME_SECTION  not like ", value, "SCAN_TIME_SECTION", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionIn(List<String> values) {
            addCriterion("SCAN_TIME_SECTION  in ", values, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionNotIn(List<String> values) {
            addCriterion("SCAN_TIME_SECTION not in ", values, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_SECTION between ", value1, value2, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeSectionNotBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_SECTION not between ", value1, value2, "SCAN_TIME_SECTION");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andScanTimeShiftIsNull() {
            addCriterion("SCAN_TIME_SHIFT is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftIsNotNull() {
            addCriterion("SCAN_TIME_SHIFT is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT =", value, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftNotEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT <>", value, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftGreaterThan(Integer value) {
            addCriterion("SCAN_TIME_SHIFT >", value, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftGreaterThanOrEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT >=", value, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftLessThan(Integer value) {
            addCriterion("SCAN_TIME_SHIFT <", value, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftLessThanOrEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT <=", value, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT like ", value, "SCAN_TIME_SHIFT", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftNotLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT  not like ", value, "SCAN_TIME_SHIFT", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftLeftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT like ", value, "SCAN_TIME_SHIFT", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftNotLeftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT  not like ", value, "SCAN_TIME_SHIFT", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftRightLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT like ", value, "SCAN_TIME_SHIFT", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftNotRightLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT  not like ", value, "SCAN_TIME_SHIFT", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftIn(List<Integer> values) {
            addCriterion("SCAN_TIME_SHIFT  in ", values, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftNotIn(List<Integer> values) {
            addCriterion("SCAN_TIME_SHIFT not in ", values, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_TIME_SHIFT between ", value1, value2, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andScanTimeShiftNotBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_TIME_SHIFT not between ", value1, value2, "SCAN_TIME_SHIFT");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andFilesizeMinIsNull() {
            addCriterion("FILESIZE_MIN is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinIsNotNull() {
            addCriterion("FILESIZE_MIN is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN =", value, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinNotEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN <>", value, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinGreaterThan(Integer value) {
            addCriterion("FILESIZE_MIN >", value, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinGreaterThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN >=", value, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinLessThan(Integer value) {
            addCriterion("FILESIZE_MIN <", value, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinLessThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN <=", value, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinLike(Integer value) {
            addCriterion("FILESIZE_MIN like ", value, "FILESIZE_MIN", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinNotLike(Integer value) {
            addCriterion("FILESIZE_MIN  not like ", value, "FILESIZE_MIN", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinLeftLike(Integer value) {
            addCriterion("FILESIZE_MIN like ", value, "FILESIZE_MIN", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinNotLeftLike(Integer value) {
            addCriterion("FILESIZE_MIN  not like ", value, "FILESIZE_MIN", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinRightLike(Integer value) {
            addCriterion("FILESIZE_MIN like ", value, "FILESIZE_MIN", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinNotRightLike(Integer value) {
            addCriterion("FILESIZE_MIN  not like ", value, "FILESIZE_MIN", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinIn(List<Integer> values) {
            addCriterion("FILESIZE_MIN  in ", values, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinNotIn(List<Integer> values) {
            addCriterion("FILESIZE_MIN not in ", values, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MIN between ", value1, value2, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMinNotBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MIN not between ", value1, value2, "FILESIZE_MIN");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andFilesizeMaxIsNull() {
            addCriterion("FILESIZE_MAX is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxIsNotNull() {
            addCriterion("FILESIZE_MAX is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX =", value, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxNotEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX <>", value, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxGreaterThan(Integer value) {
            addCriterion("FILESIZE_MAX >", value, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX >=", value, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxLessThan(Integer value) {
            addCriterion("FILESIZE_MAX <", value, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxLessThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX <=", value, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxLike(Integer value) {
            addCriterion("FILESIZE_MAX like ", value, "FILESIZE_MAX", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxNotLike(Integer value) {
            addCriterion("FILESIZE_MAX  not like ", value, "FILESIZE_MAX", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxLeftLike(Integer value) {
            addCriterion("FILESIZE_MAX like ", value, "FILESIZE_MAX", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxNotLeftLike(Integer value) {
            addCriterion("FILESIZE_MAX  not like ", value, "FILESIZE_MAX", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxRightLike(Integer value) {
            addCriterion("FILESIZE_MAX like ", value, "FILESIZE_MAX", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxNotRightLike(Integer value) {
            addCriterion("FILESIZE_MAX  not like ", value, "FILESIZE_MAX", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxIn(List<Integer> values) {
            addCriterion("FILESIZE_MAX  in ", values, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxNotIn(List<Integer> values) {
            addCriterion("FILESIZE_MAX not in ", values, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MAX between ", value1, value2, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andFilesizeMaxNotBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MAX not between ", value1, value2, "FILESIZE_MAX");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andTargetFileZipSwitchIsNull() {
            addCriterion("TARGET_FILE_ZIP_SWITCH is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchIsNotNull() {
            addCriterion("TARGET_FILE_ZIP_SWITCH is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH =", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchNotEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH <>", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchGreaterThan(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH >", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchGreaterThanOrEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH >=", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchLessThan(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH <", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchLessThanOrEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH <=", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH like ", value, "TARGET_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchNotLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  not like ", value, "TARGET_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchLeftLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH like ", value, "TARGET_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchNotLeftLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  not like ", value, "TARGET_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchRightLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH like ", value, "TARGET_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchNotRightLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  not like ", value, "TARGET_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchIn(List<Integer> values) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  in ", values, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchNotIn(List<Integer> values) {
            addCriterion("TARGET_FILE_ZIP_SWITCH not in ", values, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchBetween(Integer value1, Integer value2) {
            addCriterion("TARGET_FILE_ZIP_SWITCH between ", value1, value2, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andTargetFileZipSwitchNotBetween(Integer value1, Integer value2) {
            addCriterion("TARGET_FILE_ZIP_SWITCH not between ", value1, value2, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andSourceFileZipSwitchIsNull() {
            addCriterion("SOURCE_FILE_ZIP_SWITCH is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchIsNotNull() {
            addCriterion("SOURCE_FILE_ZIP_SWITCH is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH =", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchNotEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH <>", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchGreaterThan(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH >", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH >=", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchLessThan(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH <", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH <=", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH like ", value, "SOURCE_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchNotLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  not like ", value, "SOURCE_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchLeftLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH like ", value, "SOURCE_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchNotLeftLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  not like ", value, "SOURCE_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchRightLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH like ", value, "SOURCE_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchNotRightLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  not like ", value, "SOURCE_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchIn(List<Integer> values) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  in ", values, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchNotIn(List<Integer> values) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH not in ", values, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH between ", value1, value2, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andSourceFileZipSwitchNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH not between ", value1, value2, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andRuleDescIsNull() {
            addCriterion("RULE_DESC is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescIsNotNull() {
            addCriterion("RULE_DESC is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescEqualTo(String value) {
            addCriterion("RULE_DESC =", value, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescNotEqualTo(String value) {
            addCriterion("RULE_DESC <>", value, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescGreaterThan(String value) {
            addCriterion("RULE_DESC >", value, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescGreaterThanOrEqualTo(String value) {
            addCriterion("RULE_DESC >=", value, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescLessThan(String value) {
            addCriterion("RULE_DESC <", value, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescLessThanOrEqualTo(String value) {
            addCriterion("RULE_DESC <=", value, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescLike(String value) {
            addCriterion("RULE_DESC like ", value, "RULE_DESC", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescNotLike(String value) {
            addCriterion("RULE_DESC  not like ", value, "RULE_DESC", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescLeftLike(String value) {
            addCriterion("RULE_DESC like ", value, "RULE_DESC", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescNotLeftLike(String value) {
            addCriterion("RULE_DESC  not like ", value, "RULE_DESC", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescRightLike(String value) {
            addCriterion("RULE_DESC like ", value, "RULE_DESC", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescNotRightLike(String value) {
            addCriterion("RULE_DESC  not like ", value, "RULE_DESC", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescIn(List<String> values) {
            addCriterion("RULE_DESC  in ", values, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescNotIn(List<String> values) {
            addCriterion("RULE_DESC not in ", values, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescBetween(String value1, String value2) {
            addCriterion("RULE_DESC between ", value1, value2, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andRuleDescNotBetween(String value1, String value2) {
            addCriterion("RULE_DESC not between ", value1, value2, "RULE_DESC");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateEqualTo(String value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateNotEqualTo(String value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateGreaterThan(String value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateLessThan(String value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateNotLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateLeftLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateNotLeftLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateRightLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateNotRightLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateIn(List<String> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateNotIn(List<String> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateBetween(String value1, String value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateLike(String value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateNotLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateLeftLike(String value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateNotLeftLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateRightLike(String value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateNotRightLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateIn(List<String> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (FileScanRuleTplCriteria) this;
        }
        public FileScanRuleTplCriteria andStateDateIsNull() {
            addCriterion("STATE_DATE is null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateIsNotNull() {
            addCriterion("STATE_DATE is not null");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateEqualTo(String value) {
            addCriterion("STATE_DATE =", value, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateNotEqualTo(String value) {
            addCriterion("STATE_DATE <>", value, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateGreaterThan(String value) {
            addCriterion("STATE_DATE >", value, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE_DATE >=", value, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateLessThan(String value) {
            addCriterion("STATE_DATE <", value, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateLessThanOrEqualTo(String value) {
            addCriterion("STATE_DATE <=", value, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateNotLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateLeftLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateNotLeftLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateRightLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateNotRightLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateIn(List<String> values) {
            addCriterion("STATE_DATE  in ", values, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateNotIn(List<String> values) {
            addCriterion("STATE_DATE not in ", values, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateBetween(String value1, String value2) {
            addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

        public FileScanRuleTplCriteria andStateDateNotBetween(String value1, String value2) {
            addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
            return (FileScanRuleTplCriteria) this;
        }

    }

    public static class FileScanRuleTplCriteria extends GeneratedCriteria {

        protected FileScanRuleTplCriteria() {
            super();
        }
    }

    public static class FileScanRuleTplCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected FileScanRuleTplCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected FileScanRuleTplCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected FileScanRuleTplCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected FileScanRuleTplCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected FileScanRuleTplCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected FileScanRuleTplCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}